package org.suyisen.feng.gateway.app;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import reactivefeign.spring.config.EnableReactiveFeignClients;

/**
 * 
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableReactiveFeignClients("org.suyisen")
@EnableFeignClients("org.suyisen")
@ComponentScan("org.suyisen")
public class GatewayApplication {

	
	private static final Logger log = LoggerFactory.getLogger(GatewayApplication.class);
	
	 public static void main( String[] args )
	    {
		    log.info("-------------begin----");
	        SpringApplication.run(GatewayApplication.class );
	        log.info("-------------end----");
	    }
}
